<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/layout/taglib.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>信誉提升的入口-大麦户刷钻平台</title>
<link href="${static}/css/main.css" rel="stylesheet" type="text/css" />

</head>

<body>
<!-- header begin -->
	<jsp:include page="/WEB-INF/layout/header.jsp"/>
<!-- header end -->

	<div id="content">
		<div class="login_gg">
			<img src="${static}/images/gg2.jpg" width="498" height="290" usemap="#Map" />
			<map name="Map" id="Map">
				<area shape="rect" coords="262,214,403,276" href="/user/reg/" />
			</map>
		</div>
		<div class="login_info">
			<div class="login_tip"></div>
			<form id="loginForm" action="${ctx}/uc/security/login" method="post">
				<input type="hidden" name="hash2" value="YmFmZWNQcXBqc29IbXFwS3MrSmc1aE9GOUR1MU10S2Y1UG9icW1jdUJXNFFWTURBYmNDMWt3ZE5VM3RKNVlycjM0QjVvNWdhVUxzMU1JaE1rdw==" />
				<input type="hidden" name="referer" value="http://www.damaihu.com.cn/user/index/" /> 
				<span class="text1" id="loginaccount">账户：</span> <span class="text2" id="loginpwd">密码：</span>
				<p><input type="text" name="loginName" id="loginName" class="r_bk1" maxlength="20" /></p>
				<p><input type="password" name="password" id="password" class="r_bk2" maxlength="20" /></p>
				<input type="submit" class="dl_btn"/>
			</form>
			<p class="log_wb">
				没有账号?<a href="/user/reg/" class="chengse">立即注册</a>
				<a href="/help/selfservice/" target="_blank"> 找回密码</a>
			</p>
		</div>
	</div>
	<div class="cle"></div>
	
<!-- footer begin -->
	<jsp:include page="/WEB-INF/layout/footer.jsp" />
<!-- footer end -->

<script type="text/javascript" src="${static}/plugins/jquery.min.js"></script>
<script type="text/javascript" src="${static}/plugins/jquery.form.js"></script>
<script type="text/javascript">
$(function(){
	$("#loginForm").submit(function(){
		$(this).ajaxSubmit({
			dataType : 'json', 
			success : function(data){
				if(data.status == 1){
					window.location.href="/uc";
				}else{
					$(".login_tip").text(data.message);
				}
			}
		});
		
		return false;
	});
});
</script>
</body>
</html>
